package com.ruoyi.web.controller.mall.menNeedInfo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * 需求详情对象 men_need_info
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public class MenNeedInfo //extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 需求id */
    private String id;

    /** 类型id */
    @Excel(name = "类型id")
    private String typeId;
    private String typeName;

    /** 用户id(发布人) */
    @Excel(name = "用户id(发布人)")
    private String userId;
    private String shopId;

    /** 0普通用户1商家2企业用户3平台 */
    @Excel(name = "0普通用户1商家2企业用户3平台")
    private Integer status;

    /** 需求标题 */
    @Excel(name = "需求标题")
    private String title;

    /** 描述 */
    @Excel(name = "描述")
    private String intro;

    /** 公司名字 */
    @Excel(name = "公司名字")
    private String company;

    /** 所属地区 */
    @Excel(name = "所属地区")
    private String city;

    /** 联系人 */
    @Excel(name = "联系人")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 0默认1推荐 */
    @Excel(name = "0默认1推荐")
    private Integer recommend;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date caAt;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upAt;

    /** 0默认1是删除 */
    private Integer delFlag;

    private Integer pageNum;
    private Integer pageSize;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTypeId(String typeId) 
    {
        this.typeId = typeId;
    }

    public String getTypeId() 
    {
        return typeId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setRecommend(Integer recommend) 
    {
        this.recommend = recommend;
    }

    public Integer getRecommend() 
    {
        return recommend;
    }
    public void setCaAt(Date caAt) 
    {
        this.caAt = caAt;
    }

    public Date getCaAt() 
    {
        return caAt;
    }
    public void setUpAt(Date upAt) 
    {
        this.upAt = upAt;
    }

    public Date getUpAt() 
    {
        return upAt;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeId", getTypeId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("title", getTitle())
            .append("intro", getIntro())
            .append("company", getCompany())
            .append("city", getCity())
            .append("name", getName())
            .append("phone", getPhone())
            .append("recommend", getRecommend())
            .append("caAt", getCaAt())
            .append("upAt", getUpAt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
